package fr.cpe.dp.projet2.model.musicPlayer;

import fr.cpe.dp.projet2.model.music.IMusic;

import javax.sound.midi.InvalidMidiDataException;
import javax.sound.midi.Sequencer;

/**
 *
 * @author Benoit
 */
public interface IMusicPlayer {
    public void play() throws InvalidMidiDataException;
    public void pause();
    public void stop();
    public IMusic getMusic();
    public void setMusic(IMusic music);
    public Sequencer getSequencer();
}
